#ifndef __glut_interface_h__
#define __glut_interface_h__

#include "v3d_interface.h"
#include <GL/freeglut.h>


void glutResize(int width, int height);
void glutDisplay(void);

class glut_interface: public v3d_interface
{
protected: 
	int test;

public:
	glut_interface(void);
	~glut_interface(void);

	virtual void MessageImmediate(int message_id, void *param);

	virtual void Update(int message_id, void *param);

	void InitWindow();
	void Start();

	friend void glutResize(int width, int height);

	friend void glutDisplay(void);

};


#endif	//__glut_interface_h__

